body{
    margin: 0;
    padding: 0;
}

/* 这里是导航栏 */
#nav{
    top: 0px;
    width: 100vw;
    position: absolute;
    background-color: #ae72df;
    /* 这是一个渐变导航栏，虽然可能看不出 */
    background-image: linear-gradient(90deg,#db7ac6 20%,#8770ec 40%,#eaf5e1 100%);
    opacity: 0.8;
    z-index: 10;
}

#nav ul{
    list-style: none;
    padding: 0;
}

#nav ul li{
    top: 5px;
    height: 30px;
    /* width: 200px;
    line-height: 46px;  */
    text-align: center;
    color: #111;
    padding:  0 50px;
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 300;
}

#nav ul li:hover{
    background: #ccc;
    color: #b029ee;
    display: inline-block;
    text-decoration: underline;
    transition: all 0.3ms;
    font-size: 16px;
    font-weight: 300;
}

/* 二级菜单 */
.submenu{
    width: 150px;
    display: none;
    border: 1px solid #b029ee;
    box-shadow: 0 3px 10px #92799c;
}
.submenu a{text-align: center;}

 #nav ul li:hover .submenu{
    display: block;
    position: absolute;
    left: 0;
    top: 20px;
    background: #fff;
    z-index: 10;
} 

/* 这里是a标签把他搞的好看一点 */
.ah1{color: #111;text-decoration: none;}

.ah1:hover{
    font-size: 16px;
    text-align: center;
    color: #b029ee;
    display: inline-block;
    text-decoration: underline;
    transition: all 0.3ms;
    font-weight: 300;
}

.bg video{
    width: 100%;
    height: 100%;
}

.tab{
    position: absolute;
    top: 60px;
    background: rgb(255, 255, 255,0.3);
    text-align: center;
    color: #fff;
}

body {
	/* 弹性布局 让元素在页面中垂直+水平居中 */
	display: flex;
	justify-content: center;
	align-items: center;
	/* 让页面占浏览器可视区域的高度 */
	height: 100vh;
	background-color: #f4e7ec;
}
.multchoice{
    display: flex;
    /* 让子元素垂直排列 */
    flex-direction: column;
    padding: 20px;
}
.multchoice form label{
    display: flex;
    /* 鼠标经过变小手 */
    cursor: pointer;
}
.multchoice form label input{
    display: none;
}

/* +是相邻兄弟选择器 */
.multchoice form label input+span{
    display: flex;
    /* 让伪元素和文字水平排列 */
    align-items: center;
    padding: 10px 10px;
    margin-bottom: 10px;
    font-size: 18px;
    border-radius: 45px;
    transition: all 0.3s;
}
.multchoice form label input + span:hover{
    background: #d37f9f;
}
.multchoice form label input:checked + span{
    background: #edd8e0;
}

.multchoice form label input + span::before{
    content: "";
    /* 伪元素是行内元素，需要转为块元素才能设置宽高 */
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    background: #fff;
    /* 盒子阴影，inset是内部阴影 */
    box-shadow: 0 0 0 5px #900c3f inset;
    transition: all 0.3s;
}

/* 选中的元素内部阴影加深 */
.multchoice form label input:checked + span::before{
    box-shadow: 0 0 0 15px #900c3f inset;
}

.multchoice{
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100vw;
    height: 1000px;
    margin-top: 10px;
    color: #000;
}
.Q2{
    position: absolute;
    left: 23%;
}

.Q1 form label,
.Q2 form label,
.Q3 form label,
.Q4 form label,
.Q5 form label,
.Q6 form label,
.Q7 form label
{
    color: #0c17a8;
    font-weight: 700;
}

.Q1 form label:hover,
.Q2 form label:hover,
.Q3 form label:hover,
.Q4 form label:hover,
.Q5 form label:hover,
.Q6 form label:hover,
.Q7 form label:hover
{
    color: #f1f1f1;
    font-weight: 700;
}
.Q3{
    position: absolute;
    left: 47%;
}
.Q4{
    position: absolute;
    left: 70%;
}
.Q5{
    position: absolute;
    top: 270px;
}
.Q6{
    position: absolute;
    top: 270px;
    left: 23%;
}
.Q7{
    position: absolute;
    top: 270px;
    left: 47%;
}
h1{
    color: rgb(235, 164, 217);
}
#move{
    padding: 25px;
}